<tagLib name="html" />
<div id="main-content">
    <div id="main" class="main">
        <!-- 修改密码 start -->
        <div class="spin-cont">
            <div class="user-hd">
                <h2>{$page_title}</h2>
                <a class="kehu" href="javascript:history.back();">
                  返回
                </a>
            </div>
            <div class="user_zl">
                <form name="data_form" method="POST">
                <dl class="clearfix">
                    <dt>上级菜单：</dt>
                    <dd>{$parent.name}</dd>
                </dl>
                <dl class="clearfix">
                    <dt>菜单名称：</dt>
                    <dd><input type="text" id="name" name="name" value="{$model.name}" class="bg-input w229"/></dd>
                    <dd class="error_message" id="message_name"></dd>
                </dl>
                <dl class="clearfix">
                    <dt>菜单地址：</dt>
                    <dd><input type="text" id="url" name="url" value="{$model.url}" class="bg-input w229"/></dd>
                    <dd class="error_message" id="message_url"></dd>
                </dl>
                <dl class="clearfix">
                    <dt>描述：</dt>
                    <dd><textarea id="description" name="description" class="bg-textarea w229">{$model.description}</textarea></dd>
                </dl>
                <dl class="clearfix">
                    <dt>是否显示：</dt>
                    <dd>
                        <html:select options="yes_no_options" name="is_show" selected="model[is_show]" />
                    </dd>
                </dl>
                <dl class="clearfix">
                    <dt></dt>
                    <dd>
                        <a href="javascript:;" class="gray-btn" onclick="saveMenu()">确定</a>
                        <input type="hidden" name="parent_id" value="{$parent_id}" />
                        <input type="hidden" name="menu_id" value="{$menu_id}" />
                    </dd>
                </dl>
                </form>
            </div>
        </div>
    </div>
</div>